

package com.tjd.uploaddemo.utils;


import java.io.Serializable;

/**
 * Description: <br/>
 * Date: 2019年3月26日 下午3:49:34 <br/>
 *
 * @author Mark
 * @see
 */
public class BaseDto implements Serializable {

    private static final long serialVersionUID = 149124814045609190L;
    protected int status = 200; // 标识 默认成功

    protected String msg = "";

    protected String code = "";


    public void errorMsg(String msg) {
        this.status = 500;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public static long getSerialversionuid() {
        return serialVersionUID;
    }


}
